home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
onefor.arc
/
ONEFOR.DOC
< prev
Wrap
Text File
|
1985-08-11
|
3KB
|
104 lines
FORMAT COMMAND MODIFICATION
-Single Disk Format and Exit-
The modification is supplied as a modified format program,
"ONEFOR.COM", a batch file example "TWOFOR.BAT", and a DEBUG
script to permit re-installation of the modification.
THe purpose of this modification is to permit rapid formatting of
a large number of diskettes with a minimum of intervention.
Requirements
Effective use of this mod requires:
* IBM Personal Computer with 128K or more of main storage.
* Three disk drives, or two disk drives and any RAMDISK type
storage-based disk emulator.
* A large pile of unformatted diskettes.
Operation
Use of the ONEFOR program is begun by copying the TWOFOR batch
file and the ONEFOR.COM file to the "C:" drive (Or to the
RAMDISK). This drive will become the default:
copy onefor.com c:
copy twofor.bat c:
c:
C> <----at this point setup is complete:
Now place an unformatted disk in each of drives A & B , and
enter:
twofor
..The diskette in Drive B: will immediately begin formatting ..
Most of the usual FORMAT command messages will appear, but no
operator prompts will be expected. The ONEFOR command formats one
diskette and exits. The combination of the ONEFOR command and the
TWOFOR batch file allows for continuous formatting on both drives
A: & B:, while allowing complete overlap of the physical
replacement of diskettes, and the actual formatting of the media.
.. When the B: disk has been formatted, the system will BEEP
twice, and then begin to format the diskette in the A: drive. Now
the disk in the B: drive must be replaced, before the two BEEP's
which signal the end of the A: drive format .. and so the loop of
the TWOFOR batch file bumps back and forth between the A: and B:
drives.
.pa
Technical Attachment
TWOFOR.BAT
FORMAT B: /1/S/V
FORMAT A: /1/S/V
TWOFOR
This batch file alternates formats between drives A: and B:
and re-invokes itself endlessly. The formatting loop can be
terminated by depressing CTRL-BREAK during any message display.
If CNTRL-BREAK is pressed while formatting, it will not be
recognized until the next message is displayed.
DEBUG Script for ONEFOR.COM
A>debug format.com
-nonefor.com
-d1e0,1ef
xxxx:01E0 06 BA F5 06 E8 4F 02 BA 18-07 E8 49 02 E8 5A 02 ......
-e1ed,90,90,90
-d450,45f
xxxx:0450 BA 4B 07 E8 E0 FF B8 01 0C-CD 21 24 DF 3C 59 74 ......
-E456,90,90,90,90,90,90,90,90,90,90,90,90,90,EB
-d718,71f
xxxx:0718 -61 6E 64 20 73 74 72 69 ......
-e718,07,00,00,00,00,00,00,00,00,00,00,00,00,00,00
-e728,00,00,00,00,00,00,00,00,00,00,00,00,07
u450,464
MOV DX,074B
CALL 0436
NOP
.
. (Thirteen NOP's)
.
JMPS 046A
-W
Writing XXXX BYTES
-Q
A>... At this point the ONEFOR.COM program is created.
This program has all of the native capability of FORMAT, but will
only format one disk before exitting, and will BEEP twice when
the format is complete.